/**
 * Created by shenchangmin on 16/10/10.
 */
const express = require('express');
const router = express.Router();

const articlesDao = require('../dao/articlesDao');

router.get('/add', function (req, res, next) {
    articlesDao.add(req, res, next);
});
router.get('/delete', function (req, res, next) {
    articlesDao.delete(req, res, next);
});
module.exports = router;